<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Mein Profil</title>
<script src="https://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript"></script>
<script src="/RAT_FRONTEND/js/googleMapUtils.js" type="text/javascript"></script>
</head>
<body onload="initialize()" onunload="GUnload()">
<%@ include file="header_top.jinc" %>

<div id="wrapper">
<div id="divBody">
<%
	if(UserMngt.isLoggedOn(response, session,UserMngt.PAGE_MY_PROFIL))
	{
		String UserAdresse = "";
		if(u!=null) UserAdresse = UserMngt.getUserAdressAsString(u.getAdresse());	
%>
	<div id="divMyProfile" style="padding:10px;" class="roundCorner">
		  <table style="margin-top: 5px;">
				<tr>
					<td>Vorname: </td>
					<td><input type="text" name="RegName" size="50" value="<%= u.getVorname() %>" disabled="disabled"/></td>
				</tr>
				<tr>
					<td>Nachname: </td>
					<td><input type="text" name="RegNachname" size="50" value="<%= u.getNachname() %>" disabled="disabled"/></td>
				</tr>
				<tr>
					<td style="vertical-align: top;">Adresse: </td> 
					<td><input type="text" size="60" id="txtAdress" value="<%=UserAdresse %>" disabled="disabled"/>
					<br /><br>
	      			<div id="map_canvas" style="width: 500px; height: 300px"></div>
					</td>
				</tr>
		   </table>		
	   
	  </div>   
 </div>
 </div>  
 <%@ include file="header_bottom.jinc" %>
 <%
	}
 %>
</body>
</html>